<template>
  <div style="padding:15px">
  <el-tabs type="border-card" v-model="active">
    <el-tab-pane label="库区管理" name="1">
      <WmsZone ref='WmsZone'></WmsZone>
    </el-tab-pane>
    <el-tab-pane label="定位点管理" name="2">
      <WmsPosition ref='WmsPosition'></WmsPosition>
    </el-tab-pane>
    <!-- <el-tab-pane label="Config" name="2">Config</el-tab-pane>
    <el-tab-pane label="Role" name="3">Role</el-tab-pane>
    <el-tab-pane label="Task" name="4">Task</el-tab-pane> -->
  </el-tabs>
</div>
</template>

<script>
import WmsZone from '../warehouse/Wms_Zone.vue'
import WmsPosition from '../warehouse/Wms_Position.vue'
export default {
  components: {
    WmsZone,
    WmsPosition
  },
  data() { 
    return {
      active: '1'
    }
  },
  methods: {
    topRowClick(row) {
      this.$refs.WmsZone.$refs.grid.search()
      this.$refs.WmsPosition.$refs.grid.search()
      this.$refs.WmsPosition.$refs.grid.initDicKeys()
      //查询界面点击行事件
    },
  }
}
</script>

<style></style>
